#ifndef __CSSP_JSON_H__
#define __CSSP_JSON_H__

typedef struct cssp_sensor_info_t {
	int sen_seq;
	int sen_subseq;
	char sen_uint[8];
	char sen_type[64];
	char sen_context[64];
	char username[64];
	char devname[64];
	char devaddr[128];
}cssp_sensor_info_t;

typedef struct cssp_user_info {
	char user_name[64];
	char user_passwd[64];
	char user_addr[128];
}cssp_user_info_t;

typedef struct cssp_device_info {
	int dev_id;
	char dev_name[64];
	char dev_owner[64];
	char dev_addr[128];
}cssp_dev_info_t;

typedef struct cssp_sensor_list_info {
	int ds_dev_id;
	char ds_sensor_type[64];
}cssp_sensor_list_t;

#ifdef __cplusplus  
extern "C" {  
#endif

extern int cssp_data_parse(const char *json, unsigned int len);

#ifdef __cplusplus  
}
#endif 

#endif //__CSSP_JSON_H__
